package com.bookmall.common.exception;


/**
 * @Description:
 * @Author 胡菜鸡
 * @Create 2022-04-19-15:28
 */
public class LogOutException extends RuntimeException {
    private Integer code;
    private String message;

    public LogOutException(){}

    public LogOutException(String message, Integer code) {
        this.code = code;
        this.message = message;
    }

    public String getMessage()
    {
        return message;
    }

    public Integer getCode()
    {
        return code;
    }

    public LogOutException setMessage(String message) {
        this.message = message;
        return this;
    }
}
